<?php 

 header("Content-type: text/html; charset=utf-8");
require("conn.php");

$data = $_POST['data'];
$data=json_decode($data,true);



$sql = " UPDATE  dingdan SET mes ='".$data['mes']."'  where hao ='".$data['hao']."' ";
$result=mysql_query($sql,$conn);


if ($result) {
	echo 1;
}
